#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
	double numbers[3];
	double max;
	
	printf("please input 1st number:");
	scanf("%lf", &numbers[0]);
	printf("please input 2nd number:");
	scanf("%lf", &numbers[1]);
	printf("please input 3rd number:");
	scanf("%lf", &numbers[2]);
	
	int i;
	max = numbers[0];
	for(i = 1; i<=2 ; i ++)
	{
		if(max < numbers[1])
		{
			max = numbers[i];
		}
	}
	
	printf("%lf", max);
	
	return 0;
}
